import Vue from 'vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App.vue'
import router from './router'//缩写，相当于router/index.js
import store from './store'
import './api/mock'

Vue.use(ElementUI);//全局注入ui

Vue.config.productionTip = false

Vue.prototype.$cloud = window.cloud;
// new Vue({
//   router,
//   store,
//   render: h => h(App),
// }).$mount('#app')

export default new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')